class CreateVolumes < ActiveRecord::Migration
  def self.up
    create_table :volumes do |t|
      
      t.timestamps
    end
    add_column :stories, :volume_id, :integer
    remove_column :comics, :volume_id
  end

  def self.down
    drop_table :volumes
    add_column :comics, :volume_id, :integer
    remove_column :stories, :volume_id, :integer
  end
end
